home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97a.txt
/
000030_icon-group-sender _Mon Feb 3 08:06:33 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Received: by cheltenham.cs.arizona.edu; Mon, 3 Feb 1997 08:43:11 MST
To: icon-group@cs.arizona.edu
Date: Mon, 03 Feb 1997 08:06:33 -0700
From: Steve Wampler <swampler@gemini.edu>
Message-Id: <32F5FEF9.58E6@gemini.edu>
Organization: Gemini 8m Telescopes Project
Sender: icon-group-request@cs.arizona.edu
References: <5cu33n$lll@skylark.ucr.edu>
Subject: Re: HELP!! problem w/ Icon structs
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 1819
Samuel Chan wrote:
>
> well,
>
> it seems that either people don't know about this newsgroup or Icon
> just isn't popular. let me try to get something going.
>
> i'm new at Icon. right now i can't seem to declare Icon structures
> (lists, tables, sets, etc.) without errors(Invalid declarations). the
> text i'm using says to make use of some procedures by linking the
> appropriate libararies, which i did:
>
> link sets
> link lists
> .
> .
> .
> mylist:=[a,b,c,d]
> myset:=set()
>
> but the errors persists. i even set my $IPATH to every directory under
> $ICON_HOME/ipl, but no success. i can't seem to locate any solutions in
> the texts. i know it's something so small that i'm just overlooking.
> i'd appreciate any help. thanks!!
The two assignments you give don't need access
to any external procedures, so the link commands aren't needed.
If you *do* need access to the procedures defined in sets.icn and
lists.icn, make sure you have translated the sources into ucode
files by running the script Ucode in the mail ipl directory.
[Or, just cd ipl/procs and run:
icont -c sets lists
which will create the ucode files in that directory.]
I would
(personally) copy the resulting files sets.u1,sets.u2,lists.u1,
and lists.u2 into some other directory (the 'lib' directory for
Icon springs to mind) and set IPATH to point to that directory.
If you done that (the files sets.u? and lists.u? exist in the
directory that IPATH points to, then you might check the location
of the link directives in your source code - they must be outside
any procedure definitions.
--
Steve Wampler - swampler@gemini.edu [Gemini 8m Telescopes Project (under
AURA)]
The Gods that smiled upon your birth are laughing now. -- fortune cookie